.class public Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
.super Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;
.source "NiceAppCommentDetailActivity.java"


# static fields
.field private static final REQUEST_AUTO_COMMENT:I = 0x14

.field private static final REQUEST_COMMENT:I = 0xa


# instance fields
.field private mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;

.field private mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

.field private mAutoComment:Z

.field private mAvatarOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mClickedView:Landroid/view/View;

.field private mCommentDetails:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/CommentModel;",
            ">;"
        }
    .end annotation
.end field

.field private mCommentTimesTxt:Landroid/widget/TextView;

.field private mCurComment:Lcom/brixd/niceapp/model/CommentModel;

.field private mCurPage:I

.field private mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;

.field private mDeleteComment:Z

.field private mFooter:Landroid/view/ViewGroup;

.field private mFooterContent:Landroid/view/View;

.field private mHasMoreComments:Z

.field private mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private mIsDirty:Z

.field private mListView:Landroid/widget/ListView;

.field private mLoadingBar:Landroid/widget/ProgressBar;

.field private mLoadingTxt:Landroid/widget/TextView;

.field private mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

.field private mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

.field private mScrollToEnd:Z

.field private mShowMore:Landroid/view/View;

.field private mUpTimesTxt:Landroid/widget/TextView;

.field private mUserModel:Lcom/brixd/niceapp/model/UserModel;


# direct methods
.method public constructor <init>()V
    .registers 3

    .prologue
    const/4 v1, 0x0

    .line 59
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;-><init>()V

    .line 66
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentDetails:Ljava/util/List;

    .line 84
    iput v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurPage:I

    .line 86
    iput-boolean v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mScrollToEnd:Z

    .line 87
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mHasMoreComments:Z

    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Lcom/brixd/niceapp/model/CommentModel;Z)V
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/CommentModel;
    .param p2, "x2"    # Z

    .prologue
    .line 59
    invoke-direct {p0, p1, p2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->startCommentActivity(Lcom/brixd/niceapp/model/CommentModel;Z)V

    return-void
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/UserModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    return-object v0
.end method

.method static synthetic access$1002(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Landroid/view/View;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Landroid/view/View;

    .prologue
    .line 59
    iput-object p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mClickedView:Landroid/view/View;

    return-object p1
.end method

.method static synthetic access$1100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$1200(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/util/RequestDelayHandler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;

    return-object v0
.end method

.method static synthetic access$1302(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 59
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mIsDirty:Z

    return p1
.end method

.method static synthetic access$1400(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    return-object v0
.end method

.method static synthetic access$1500(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Ljava/util/List;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentDetails:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$1600(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentTimesTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$1700(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;

    return-object v0
.end method

.method static synthetic access$1802(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 59
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDeleteComment:Z

    return p1
.end method

.method static synthetic access$1900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 59
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->onDeleteComment(Lcom/brixd/niceapp/model/CommentModel;)V

    return-void
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 59
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->onDeleteCommentReplay(Lcom/brixd/niceapp/model/CommentModel;)V

    return-void
.end method

.method static synthetic access$2000(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 59
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->onAlertComment(Lcom/brixd/niceapp/model/CommentModel;)V

    return-void
.end method

.method static synthetic access$2100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurPage:I

    return v0
.end method

.method static synthetic access$2108(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurPage:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurPage:I

    return v0
.end method

.method static synthetic access$2200(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/ListView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mListView:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$2300(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mLoadingTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2400(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooterContent:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 59
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->onAlertCommentReplay(Lcom/brixd/niceapp/model/CommentModel;)V

    return-void
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mScrollToEnd:Z

    return v0
.end method

.method static synthetic access$402(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 59
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mScrollToEnd:Z

    return p1
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mHasMoreComments:Z

    return v0
.end method

.method static synthetic access$502(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 59
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mHasMoreComments:Z

    return p1
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/ProgressBar;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mLoadingBar:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mShowMore:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$800(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->requestMoreComments()V

    return-void
.end method

.method static synthetic access$900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/CommentModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    return-object v0
.end method

.method private generateHeaderView()Landroid/view/View;
    .registers 10

    .prologue
    const/4 v8, 0x0

    .line 414
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v5

    const v6, 0x7f030036

    const/4 v7, 0x0

    invoke-static {v5, v6, v7}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 415
    .local v3, "header":Landroid/view/View;
    const v5, 0x7f0a00bc

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 416
    .local v0, "author":Landroid/widget/TextView;
    const v5, 0x7f0a00d5

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 417
    .local v2, "content":Landroid/widget/TextView;
    const v5, 0x7f0a00d6

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 418
    .local v4, "time":Landroid/widget/TextView;
    const v5, 0x7f0a00e0

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;

    .line 419
    const v5, 0x7f0a00df

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentTimesTxt:Landroid/widget/TextView;

    .line 420
    const v5, 0x7f0a00bb

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 421
    .local v1, "avatar":Landroid/widget/ImageView;
    const v5, 0x7f0a00b8

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5, v8}, Landroid/view/View;->setVisibility(I)V

    .line 423
    iget-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/model/CommentModel;->getAuthorUser()Lcom/brixd/niceapp/model/CommonUserModel;

    move-result-object v5

    invoke-virtual {v5}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 424
    iget-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/model/CommentModel;->getContent()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v5

    invoke-virtual {v2, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 425
    iget-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/model/CommentModel;->getCreatedAt()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Lcom/brixd/niceapp/util/DateUtils;->convertServerTimeToLocal(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 426
    iget-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v7, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/CommentModel;->getUpTimes()I

    move-result v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, ""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 427
    iget-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentTimesTxt:Landroid/widget/TextView;

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v7, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/CommentModel;->getReplayTimes()I

    move-result v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, ""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 428
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/model/CommentModel;->isDigg()Z

    move-result v5

    if-eqz v5, :cond_ee

    const v5, 0x7f02008e

    :goto_c1
    invoke-virtual {v6, v5, v8, v8, v8}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    .line 431
    iget-object v5, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/CommentModel;->getAuthorUser()Lcom/brixd/niceapp/model/CommonUserModel;

    move-result-object v6

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/CommonUserModel;->getAvatarUrl()Ljava/lang/String;

    move-result-object v6

    iget-object v7, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAvatarOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v5, v6, v1, v7}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 433
    new-instance v5, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$13;

    invoke-direct {v5, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$13;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v3, v5}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 445
    new-instance v5, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$14;

    invoke-direct {v5, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$14;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v3, v5}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    .line 482
    new-instance v5, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;

    invoke-direct {v5, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 498
    return-object v3

    .line 428
    :cond_ee
    const v5, 0x7f02008d

    goto :goto_c1
.end method

.method private initData()V
    .registers 6

    .prologue
    const v4, 0x7f02010e

    const/4 v3, 0x1

    .line 138
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "AppModel"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/BaseAppModel;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    .line 139
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "Comment"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/CommentModel;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    .line 140
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "AutoComment"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAutoComment:Z

    .line 142
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentDetails:Ljava/util/List;

    invoke-direct {v0, p0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;

    .line 144
    new-instance v0, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    .line 145
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    invoke-virtual {v0, v3}, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;->setScrollToUpUsers(Z)V

    .line 147
    invoke-static {p0}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v0

    const-class v1, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v0, v1}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    .line 149
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 150
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    invoke-virtual {v0, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisc(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    .line 151
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    new-instance v1, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;

    invoke-direct {v1}, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->displayer(Lcom/nostra13/universalimageloader/core/display/BitmapDisplayer;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 152
    invoke-virtual {v0, v4}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 153
    invoke-virtual {v0, v4}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAvatarOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 155
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 156
    new-instance v0, Lcom/brixd/niceapp/util/RequestDelayHandler;

    invoke-direct {v0}, Lcom/brixd/niceapp/util/RequestDelayHandler;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;

    .line 157
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;

    const/16 v1, 0x1f4

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/RequestDelayHandler;->setDelayTime(I)V

    .line 158
    return-void
.end method

.method private initWidgets()V
    .registers 6

    .prologue
    const/4 v4, 0x0

    .line 161
    const v0, 0x7f0200b2

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->setBackIcon(I)V

    .line 162
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->setCommitBtnVisibility(I)V

    .line 163
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getIconUrl()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getBackIconView()Landroid/widget/ImageView;

    move-result-object v2

    iget-object v3, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAvatarOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v0, v1, v2, v3}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 165
    const v0, 0x7f030043

    invoke-static {p0, v0, v4}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooter:Landroid/view/ViewGroup;

    .line 166
    const v0, 0x7f030044

    invoke-static {p0, v0, v4}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooterContent:Landroid/view/View;

    .line 167
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a00fe

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mShowMore:Landroid/view/View;

    .line 168
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a00ff

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mLoadingTxt:Landroid/widget/TextView;

    .line 169
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a0100

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mLoadingBar:Landroid/widget/ProgressBar;

    .line 170
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooter:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooterContent:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 172
    const v0, 0x7f0a002b

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mListView:Landroid/widget/ListView;

    .line 173
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mListView:Landroid/widget/ListView;

    const v1, 0x7f020090

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setSelector(I)V

    .line 174
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mListView:Landroid/widget/ListView;

    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->generateHeaderView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    .line 175
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mListView:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mFooter:Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addFooterView(Landroid/view/View;)V

    .line 177
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mListView:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 179
    return-void
.end method

.method private initWidgetsActions()V
    .registers 4

    .prologue
    .line 182
    new-instance v1, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$1;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$1;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->setOnBackClickListener(Landroid/view/View$OnClickListener;)V

    .line 190
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;

    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$2;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$2;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v1, v2}, Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;->setOnCommentClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter$OnCommentClickListener;)V

    .line 200
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;

    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$3;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$3;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v1, v2}, Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter;->setOnCommentLongClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/CommentDetailAdapter$OnCommentLongClickListener;)V

    .line 236
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mListView:Landroid/widget/ListView;

    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$4;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 253
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mShowMore:Landroid/view/View;

    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$5;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$5;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 264
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentTimesTxt:Landroid/widget/TextView;

    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$6;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$6;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 276
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;

    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 320
    const v1, 0x7f0a006f

    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 321
    .local v0, "mToolBarCommentTxt":Landroid/widget/TextView;
    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->getAllDetailCommentReplyHint()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V

    .line 322
    new-instance v1, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$8;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$8;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 334
    return-void
.end method

.method private onAlertComment(Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 10
    .param p1, "commentModel"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 398
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-static {v0}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v7

    .line 399
    .local v7, "token":Lcom/brixd/niceapp/model/Token;
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v1

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getTimestamp()J

    move-result-wide v2

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getUid()I

    move-result v4

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getSecr()Ljava/lang/String;

    move-result-object v5

    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$12;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$12;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-interface/range {v0 .. v6}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->alertComment(IJILjava/lang/String;Lretrofit/Callback;)V

    .line 411
    return-void
.end method

.method private onAlertCommentReplay(Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 10
    .param p1, "commentModel"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 363
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-static {v0}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v7

    .line 364
    .local v7, "token":Lcom/brixd/niceapp/model/Token;
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v1

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getTimestamp()J

    move-result-wide v2

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getUid()I

    move-result v4

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getSecr()Ljava/lang/String;

    move-result-object v5

    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$10;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$10;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-interface/range {v0 .. v6}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->alertCommentReplay(IJILjava/lang/String;Lretrofit/Callback;)V

    .line 376
    return-void
.end method

.method private onDeleteComment(Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 10
    .param p1, "commentModel"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 379
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-static {v0}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v7

    .line 380
    .local v7, "token":Lcom/brixd/niceapp/model/Token;
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v1

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getTimestamp()J

    move-result-wide v2

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getUid()I

    move-result v4

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getSecr()Ljava/lang/String;

    move-result-object v5

    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$11;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$11;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-interface/range {v0 .. v6}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->deleteComment(IJILjava/lang/String;Lretrofit/Callback;)V

    .line 395
    return-void
.end method

.method private onDeleteCommentReplay(Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 10
    .param p1, "commentModel"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 337
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-static {v0}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v7

    .line 338
    .local v7, "token":Lcom/brixd/niceapp/model/Token;
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v1

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getTimestamp()J

    move-result-wide v2

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getUid()I

    move-result v4

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/Token;->getSecr()Ljava/lang/String;

    move-result-object v5

    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$9;

    invoke-direct {v6, p0, p1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$9;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Lcom/brixd/niceapp/model/CommentModel;)V

    invoke-interface/range {v0 .. v6}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->deleteCommentReplay(IJILjava/lang/String;Lretrofit/Callback;)V

    .line 360
    return-void
.end method

.method private requestMoreComments()V
    .registers 6

    .prologue
    .line 514
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v1

    iget v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurPage:I

    add-int/lit8 v2, v2, 0x1

    const/16 v3, 0x14

    new-instance v4, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$16;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$16;-><init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V

    invoke-interface {v0, v1, v2, v3, v4}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryCommentReplays(IIILretrofit/Callback;)V

    .line 556
    return-void
.end method

.method private setResult()V
    .registers 4

    .prologue
    .line 577
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 578
    .local v0, "data":Landroid/content/Intent;
    const-string v1, "Comment"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 579
    const-string v1, "DeleteComment"

    iget-boolean v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDeleteComment:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 580
    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->setResult(ILandroid/content/Intent;)V

    .line 581
    return-void
.end method

.method private startCommentActivity(Lcom/brixd/niceapp/model/CommentModel;Z)V
    .registers 6
    .param p1, "replayToComment"    # Lcom/brixd/niceapp/model/CommentModel;
    .param p2, "autoComment"    # Z

    .prologue
    .line 502
    new-instance v0, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/activity/NiceAppCommentActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 504
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "AppModel"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 505
    const-string v1, "UserModel"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 506
    const-string v1, "ReplayToComment"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 507
    const-string v1, "BaseComment"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 508
    const-string v1, "DefaultHint"

    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->getAllCommentReplyHint()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 509
    if-eqz p2, :cond_3d

    const/16 v1, 0x14

    :goto_32
    invoke-virtual {p0, v0, v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->startActivityForResult(Landroid/content/Intent;I)V

    .line 510
    const v1, 0x7f040016

    const/4 v2, 0x0

    invoke-virtual {p0, v1, v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->overridePendingTransition(II)V

    .line 511
    return-void

    .line 509
    :cond_3d
    const/16 v1, 0xa

    goto :goto_32
.end method


# virtual methods
.method public finish()V
    .registers 2

    .prologue
    .line 570
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mIsDirty:Z

    if-eqz v0, :cond_7

    .line 571
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->setResult()V

    .line 573
    :cond_7
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->finish()V

    .line 574
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .registers 9
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    const/4 v4, 0x1

    const/4 v3, -0x1

    const/4 v2, 0x0

    .line 585
    invoke-super {p0, p1, p2, p3}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onActivityResult(IILandroid/content/Intent;)V

    .line 586
    const/16 v1, 0x14

    if-ne p1, v1, :cond_48

    .line 587
    if-ne p2, v3, :cond_3f

    .line 588
    iput v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurPage:I

    .line 589
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mShowMore:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->performClick()Z

    .line 591
    const-string v1, "CommentCount"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getReplayTimes()I

    move-result v2

    invoke-virtual {p3, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    .line 592
    .local v0, "commentCount":I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/model/CommentModel;->setReplayTimes(I)V

    .line 593
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentTimesTxt:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 595
    iput-boolean v4, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mIsDirty:Z

    .line 610
    .end local v0    # "commentCount":I
    :cond_3e
    :goto_3e
    return-void

    .line 596
    :cond_3f
    if-nez p2, :cond_3e

    .line 597
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->finish()V

    .line 598
    invoke-virtual {p0, v2, v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->overridePendingTransition(II)V

    goto :goto_3e

    .line 600
    :cond_48
    const/16 v1, 0xa

    if-ne p1, v1, :cond_3e

    if-ne p2, v3, :cond_3e

    .line 601
    iput v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurPage:I

    .line 602
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mShowMore:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->performClick()Z

    .line 604
    const-string v1, "CommentCount"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getReplayTimes()I

    move-result v2

    invoke-virtual {p3, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    .line 605
    .restart local v0    # "commentCount":I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/model/CommentModel;->setReplayTimes(I)V

    .line 606
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCommentTimesTxt:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 608
    iput-boolean v4, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mIsDirty:Z

    goto :goto_3e
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .registers 4
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 120
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 121
    const v1, 0x7f030014

    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->setContentView(I)V

    .line 123
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->initData()V

    .line 124
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->initWidgets()V

    .line 125
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->initWidgetsActions()V

    .line 127
    iget-boolean v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mAutoComment:Z

    if-eqz v1, :cond_26

    .line 128
    new-instance v0, Lcom/brixd/niceapp/model/CommentModel;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;

    invoke-direct {v0, v1}, Lcom/brixd/niceapp/model/CommentModel;-><init>(Lcom/brixd/niceapp/model/CommentModel;)V

    .line 129
    .local v0, "replayToComment":Lcom/brixd/niceapp/model/CommentModel;
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/model/CommentModel;->setCommentId(I)V

    .line 130
    const/4 v1, 0x1

    invoke-direct {p0, v0, v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->startCommentActivity(Lcom/brixd/niceapp/model/CommentModel;Z)V

    .line 135
    .end local v0    # "replayToComment":Lcom/brixd/niceapp/model/CommentModel;
    :goto_25
    return-void

    .line 132
    :cond_26
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mShowMore:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->performClick()Z

    goto :goto_25
.end method

.method protected onPause()V
    .registers 2

    .prologue
    .line 112
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onPause()V

    .line 113
    const-string v0, "NiceAppCommentDetailActivity"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    .line 114
    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onPause(Landroid/content/Context;)V

    .line 115
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->unregister(Ljava/lang/Object;)V

    .line 116
    return-void
.end method

.method protected onResume()V
    .registers 2

    .prologue
    .line 100
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onResume()V

    .line 101
    const-string v0, "NiceAppCommentDetailActivity"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    .line 102
    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onResume(Landroid/content/Context;)V

    .line 103
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->register(Ljava/lang/Object;)V

    .line 105
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-nez v0, :cond_1c

    .line 106
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 108
    :cond_1c
    return-void
.end method

.method public onUserSigon(Lcom/brixd/niceapp/bus/event/UserSignonEvent;)V
    .registers 3
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/UserSignonEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 560
    invoke-virtual {p1}, Lcom/brixd/niceapp/bus/event/UserSignonEvent;->getUserModel()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 562
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mClickedView:Landroid/view/View;

    if-eqz v0, :cond_12

    .line 563
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mClickedView:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->performClick()Z

    .line 564
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mClickedView:Landroid/view/View;

    .line 566
    :cond_12
    return-void
.end method
